package com.demo.pojo;



import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.util.List;

/**
 * @author leiliang
 * @version 1.0
 * @Description
 * @date 2021/5/11 14:30
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class SsopDict implements Serializable {


    /**
     * 主键
     */

    private long id;

    /**
     * 数据字典名
     */

    private String label;

    /**
     * 数据字典key
     */
    private String code;

    /**
     * 是否为预置数据 1 是 0 否
     */
    private boolean preset = false;

    /**
     * 创建时间
     */
    private long created;

    /**
     * 修改时间
     */
    private long modified;


    /**
     * 字典值数据
     */
    private List<SsopDictValue> values;

    public long getId() {
        return id;
    }

    public void setId(long id) {
        this.id = id;
    }

    public String getLabel() {
        return label;
    }

    public void setLabel(String label) {
        this.label = label;
    }


    public List<SsopDictValue> getValues() {
        return values;
    }

    public void setValues(List<SsopDictValue> values) {
        this.values = values;
    }

    public boolean isPreset() {
        return preset;
    }

    public void setPreset(boolean preset) {
        this.preset = preset;
    }

    public long getCreated() {
        return created;
    }

    public void setCreated(long created) {
        this.created = created;
    }

    public long getModified() {
        return modified;
    }

    public void setModified(long modified) {
        this.modified = modified;
    }


    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }


}

